package com.example.easytts.repository

import com.example.easytts.model.OcrUsage
import org.springframework.data.jpa.repository.JpaRepository
import java.time.LocalDate

interface OcrUsageRepository : JpaRepository<OcrUsage, Long> {
    fun findByUserIdAndDate(userId: Long, date: LocalDate): OcrUsage?
    fun findByIpAndDate(ip: String, date: LocalDate): OcrUsage?
} 